package cn.sky.demo.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class ReminderTask {
    private Long id;
    private Long userId;
    private String phone;
    private String message;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate nextRemindDate;
    private Integer intervalDays = 3;
    private Boolean active = true;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    
    // getters and setters
}


